qx.Class.define("bip.ui.form.PredefinedButtons", 
{
	/*
	*****************************************************************************
	 statics
	*****************************************************************************
	*/  
	statics :
	{
		newCloseButton: function(label) {
			if (label == null) {label="Close";}
			var button = new qx.ui.form.Button(label,"icon/16/actions/dialog-close.png");
			return button;
		},
		
		newApplyButton: function(label) {
			if (label == null) {label="Apply";}
			var button = new qx.ui.form.Button(label,"icon/16/actions/dialog-apply.png");
			return button;
		},
		
		newSaveButton: function(label) {
			if (label == null) {label="Save";}
			var button = new qx.ui.form.Button(label,"icon/16/actions/dialog-apply.png");
			return button;
		},
		
		newCommitButton: function(label) {
			if (label == null) {label="Commit";}
			var button = new qx.ui.form.Button(label,"icon/16/actions/go-next.png");
			return button;
		},
		
		newEditTextButton: function(label) {
			if (label == null) {label="Edit";}
			var button = new qx.ui.form.Button(label,"icon/16/categories/office.png");
			return button;
		}
		
	}
});
